Thanks for your response, though that has made me re-read my query and I perhaps wasn't too clear. Unfortunately (or perhaps fortunately!), the black line is definitely dirt as after scrubbing and scrubbing deeply with a nylon brush it does come out. I'm obviously making it worse doing this but it's the only thing that works.
I used to have such healthy nails:(
Hello,
These black lines can be due to can be due to longitudinal melanonychia(presence of a pigmented stripe, usually brown or black, along the length of the nail bed in darker-skinned individuals,splinter hemorrhages or Beau’s lines(they are horizontal lines of darkened cells and depression).Without examination, it is difficult confirming a diagnosis and so I would suggest a dermatologist’s evaluation.
I hope it helps. Take care and regards.