It can't be racist if it's funny. If you find something racist AND funny the you quite probably are on the "superior" end. Racism should be defined by actions and not by words. This is where we have fallen off the boat. Words don't do harm unless the one spoken too allows them to. I see several posters on this thread (Not pointing you out at all) that need to grow a thicker skin and get over it. What he said was about the time honored black man vs. white man genitalia argument. It wasn't racist it was FUNNY. If you think that statement was racist at all you need to check your "ego".
Here's some honesty about what's funny. And I challenge anyone to provide a viable refutation thereof. First a personal belief of my own. Just my way of thinking. If you can't laugh at yourself, you have no business laughing at others. That's just me.
Humor, despite all the snotty definitions offered by academia, is just one thing. That is making light of perceived misfortune whether your own, others, animals, or events of some type. That's all it is, not to say it's never hurtful, mean, spiteful and such at times. It doesn't matter if one laughs at the violence-centered cartoons such as Tom & Jerry, Popeye, The Roadrunner or whatever. It doesn't matter if one laughs at the mishaps of the Three Stooges, Abbott & Costello, Buster Keaton, and the likes. It doesn't matter if you laugh at someone who is eye-glued to their cellphone and falls into an open service shaft; someone wildly "dancing" while trying to get their footing on an icy sidewalk and failing miserably. Humor is making light of perceived misfortune. That includes jokes of all types, racist, sexist (women tell them too), cognitive deficiency, medical conditions, and so on. Whether the joke is generally inconsequential, self-deprecating, or cruel, the focus is on a perceived misfortune. One of what I think is the most insulting (and funny) blonde jokes I ever heard was told to me by a blonde woman. A woman so smart she runs her own company and authors Tex-Mex cookbooks on the side and owns a series of exclusive apartment complexes. I chuckle even now remembering what she said, but it was at its core an insult to blonde women's presumed lack of intelligence.
An old Irish pub joke mocks the dead, blind people, cops, and even the listeners in regard to the time of day/night the event took place. Even the Abbott & Costello routine "Who's On First?" mocks the presumed stupidity of Costello not understanding basic answers to simple questions and his eventual frustration. The dictionary and snotty academia are both wrong about humor. But I welcome a refutation of something that is funny yet excludes a perceived misfortune. Still, they're right about one thing, the one who laughs needs the cognitive ability and to some extent the experience to comprehend why the event is an anomaly, hence funny.