I would NEVER consider it. If there are people who love you out there, or care about you, doing something like that is pathetic, selfish and fucks up many people, more than they ever think. You always have good days and bad days. It sucks. And unfortunately, it affects a lot of people. Especially when they hurt more than themselves.
Don't forget about Dave Jacobs, who killed a beautiful girl and someone people cared about because he couldnt deal with shit, and then killed himself.
A few months ago, an ex-coworker of mine, who worked with me for 4 years a long time ago, killed himself. Hanged. WTF? My age. The guy had two kids, a young daughter, age 5. WTF was he thinking? Because he was going through a divorce. Because his ex was driving him crazy? Never one did he stop to think about his kids, and how much they loved him, and how they will have to live with this ever day on what he did. Bobb Giacobbe was his name. One of our first sales rep. Was things that bad in life?
And then there was Figure Olympia Jennifer Gates, who was separated and getting a divorce from her husband, who also killed himself too. WTF? They had a daughter too. Pure selfish acts. Jennifer has since remarried and the son and daughter in a loving family home.
So if you know someone who is even contemplating it, urge them get talk it out, to anyone - because often, they are in a state of depression that is very hard to get out of at that moment.