Unless you really trust someone then I would stay away from it. More than not it turns out really badly, people are fucking dumb and have no idea on how to deal with this. Talking about death is really REALLY hard for normal people, like... if you only knew. Unless you're really sure about the person and it feels like you can trust em then it's honestly better to just stay silent.
But... what you can do is, not talk about suicidal thoughts, but talk about what causes them instead. Why are you having thoughts about death? Money, relationship problems, feeling like an outsider, trust issues? Whatever it is talk about that, talk about the issues that gives you suicidal thoughts. It's better that way.
If you say "hey I don't feel like living anymore" the first thing you will get back is why? So you need to explain why your feel this way no matter what. And also... conversations go better if you have a single topic to focus in on and dive into. "Suicide" is not a topic, it's a whole life The topic "suicide" is HUGE. It's years and years of hurt from all kinds of places over many years, it's not... focused. It's not, one thing. If you go into a talk with "suicide" as a topic. It won't lead anywhere because there's so much to talk about.
Try and figure out what hurts the most right now, focus in on one thing. Maybe someone broke your heart and you have a hard time getting over it? That's one thing to talk about, after you have this topic in your head, find someone you trust and try to talk about it.
If that goes well, maybe.... maybe you can escalate after a while and be totally honest if it feels ok for you. If it feel ok for YOU, no one else. Don't ever forget that. But... don't start off with "hey I can die any day now" that's not a good idea, that's to much to fast.
If you decide to speak to someone anonymously, or with someone that you know for sure won't report you. Then it's ok to let it all out if you want to
this text is for "regular" people, your friends loved ones etc.
Gl friend