I think it depends on the comedian. If they are popular they can get away with anything.
If they are up and coming, then they are easy targets for loosing jobs.
In reality if people supposedly think and keep saying we are all equal then it shouldn't matter as long as the joke is delivered without malice intent.