I have black lines in fingernails or black lines on fingernails, why is this?

This has nothing to do with a vegan diet or even a dietary deficiency. The most common causes are a fungal infection or physical damage from knocking your nail against something. Go see your Doctor or medical professional for advice.