Yes. Been on both ends.
A girl I was friends with took her life because she couldn't deal with her nightmare mother, her mother was abusive and treated her badly. Made me understand her desperation to wanting out having been born into such a family not unlike my parallel.
A friend of a friend took his life too. I talked to that friend and said at the time I think about it all the time but won't since its in conflict with who I am. Some 15 years of wanting to, many attempts without telling anyone, and having to face a nightmare father daily helped. Voluntarily sought help often without getting any help, pills included. I'm amazed I pulled through actually.
Five years ago I said if I live long enough life has got to balance, if I only live long enough and it is finally. At the end of the day I had to learn that the thoughts were a medical state that professionals continued to undiagnose me for so I went alternative. And learned the extent to why I was feeling like this besides a dysfunctional life. Its taken a long while to have a positive peer group and working away from my family. I can understand completely why people do this. And know it is the bodies response to a deficit from other than serotonin 9 times out of 10, the serotonin being leached out from disruption.
The people that are the most serious will almost never tell you and just do it. The people that aren't will say things that will indicate their distress. Men are more final about this then women since its a hormonal thing. Ironically having underactive thyroids stopped me from taking my life since I lacked initiative. Am I glad I lived long enough, depends, I guess I chose to live since I'm still here so I must be glad.