people tend to joke about sensitive/scary topics to try and take the weight off of them. you don't really have control over whether a public place you are in gets shot up, or whether another country drops a bomb on you, but constantly living in fear of those things isn't a good way to cope either. i think it should be okay to joke about topics that pose danger to yourself because otherwise it's harder to mentally accept them and keep going. laughing at something makes it hurt less 100%. never punish or demonize people for making jokes. that doesn't solve anything.
t. someone who can still find humor in suicide jokes despite many people close to me taking their lives.