This is great. I heard a philosopher, Clancy Martin, who has survived multiple suicide attempts, interviewed on NPR a few months ago about his book, How Not To Kill Yourself, which I purchased but have not yet read. I bought the book because of one thing he said in the interview. He's in favor of NOT telling people that their thoughts of suicide are bad. Tell them their thoughts are ok but they can put off killing themselves to another day. That takes away the shame that people may feel about theor thoughts. It also ties to this Viktor Frankl quote from Man's Search for Meaning, which I include in many of my essays:
"Even if things only take such a good turn in one of a thousand cases, who can guarantee that in your case it will not happen one day, sooner or later? But in the first place, you have to live to see the day on which it may happen, so you have to survive in order to see that day dawn, and from now on the responsibility for survival does not leave you"
I think that ties with your thoughts. It doesn't paint an unrealistic optimism but it also says that pessimism is also distorted.