Seriously. I'm tired of the haughty Puritans pretending they don't know what morbid humor is. At my grandfather's funeral, my whole family was doing it. It's a way to grieve. For example, he was a farmer. He literally bought the farm. at several points in his life. One of the jokes I remember making was, "he bought the farm, and later he bought the farm!"
My younger brother lived a very troubled life. Struggled with a lot of mental health and related substance abuse issues. Served time in jail after committing armed robbery for drug money. Died in his late 20s from an OD. But he was still my brother, and I still loved him. At his funeral:
"HE'S ROBBING ANGELS NOW!"
Frankly, if someone can't appreciate morbid humor, I don't want to be friends with them.