Comedy has and always will be about pushing the boundaries.
That's how comedy and jokes work. You need to tell them to to an audience to work out if they are funny or not. If people laugh it's worked, if people don't it didn't.
The fact some people are offended makes absolutely no differene...