Avoiding funny jokes because they might offend someone won’t teach people anything. It’ll just make them feel like they have to suppress what they actually want to say.
Most people have a thick enough skin to get over it, so the people around them don’t all have to adjust to their feelings.