From what I gathered from you topic, is there a limit to jokes you can make? To me, yes. A joke CAN go too far.
This oftentimes comes from the route of comedy that people chooses to take. These days it seems like there are two types: The outrageous, and the relatable.
The relatable is often the slice-of-life, harmless, not trying to offend type of humor that I think most people can enjoy. What it usually comes from is pointing out the strangeness of everyday life. These kinds of jokes are plentiful, and it's hard to run out of material, really.
Then comes the outrageous. This kind of joke comes from the horrible or perhaps disgusting side of human life, and then turning it around so that it feels harmless. The sources can come from anything that most people find vulgar, like drugs, sex, gore, drinking; or really anything that could offend someone. What makes the joke is trying to make it harmless for the audience.
The problem with this kind of humor style is that your jokes can become stale, because the outrageousness suddenly becomes the norm. That's usually when the jokes become really raunchy, or almost despicable to human decency.
Now while some people may disagree with me, look back at those series or comics that have a dark, or vulgar attitude towards life. While they may have a big audience at first, they start to deteriorate and eventually just stop becoming relevant. Now have a look at something like Calvin and Hobbes or Garfield. Or in comedy, Bill Cosby (just ignore his present actions and look at his content). All of these creators had more of a light-heartedness that welcomed audiences, and are still being enjoyed to this day. Why? Because they got better in creating healthy content, rather than relying on the shock value. Shock value has its merits for a time, but those come and go.
So while I'm creating, I try not to think of ways to shock people, rather, ways to make people relate and laugh. I have the mindset, "Could I show these to my kids someday?" always on the backburner, keeping me in check. So with that, I leave you with the words, don't try to openly offend, be light-hearted. Those jokes and stories last a bit more.