My s22 ultra got a green line few days ago. Then after few days a pink line appeared. It's not permanent sometimes it appears and then dissappears.there was no damage to my mobile it's happened without any reason.
And one more thing I have 2 lines one green and one pink. Both are so thin thinner than thread. And both lines appear And dissappear, like they slowly fade away.