The black or dark brown spots on the underside of the leaves can be due to a fungal infection which makes the leaves unsafe for consumption. If the spots appear due to heat or improper storage, they can be safe for eating, but it is still suggested that you throw them out instead of risking your health.