I don't think it's something that should be tossed around like a high five. Suicide is a big issue, and I feel like I wouldn't laugh at any of these jokes because it's not funny: but it's a form of "dark humor". Not everyone's going to agree or laugh at dark humor. I feel like it shouldn't be joked about, but I can't control everyone.
You should never say that to someone because you dont know whats going on in their personal lives, it could make them hurt themselves, and I dont see how it couldve meant as a joke because its not funny.