Humor is an amazing tool. Call it "nervous laughter" sometimes, or mocking the idiocy of racism as another take.
And here's where Osman might offer a different perspective. I still have a nagging concern about how much of racial humor in the public discourse decades ago was hurtful but...