Line on gums is hurting, could someone help me identify it?

I just noticed this spot on my top gums was hurting yesterday morning and it’s still hurting now. I’ve noticed this line before now but I’ve never had any discomfort. Is this some sort of scar/scratch or possibly something more serious? It’s really puzzling to me.

To anybody that responds — thank you so much for your time.