It's definitely contextual. As an example, military or veterans, first responders, doctors, lawyers, and others like that will usually have a much greater appreciation for dark humor than people who haven't had to deal with tragic circumstances in their day jobs.