It’s not funny. You never know what someone is going through. It makes you a horrible person, and you deserve whatever comes your way.
When people tell others to kill themselves they always come off as the biggest asshole in the room. It also reveals a lot about who they are as a person and what they think of other people. I don’t think people realize just how serious people can take words or just how much their words mean.
On the internet, I unfollow people that I see saying this kind of thing. I’ve been suicidal and been raised by a mother who has attempted suicide several (more than 10) times. I’ve known others who have attempted as well. Suggesting someone end their life is wrong.