I use the french Marigolds planted among the veggies to keep pests away because it has a strong odor. I doubt that it would taste very good and I have seen conflicting information as to the edibility of this plant.
Mexican marigold (Tagetes erecta) and French marigold (Tagetes patula), are mildly toxic to humans.
Here is an article about the other marigolds that are considered to be edible, marigold flower, Calendula officinalis (commonly just called calendula or “pot marigold”:
https://draxe.com/nutrition/marigolds/