Comedian Lenny Bruce was tried, convicted, and jailed for obscenity after a stand-up performance that included off-color humor in New York City in 1964.
Such forms of humor have become widely distributed and more socially acceptable, in part due to the mainstream success in the 1970s and 1980s of comedians like Peter Cook and Dudley Moore's alter-egos Derek and Clive, Dolemite, and Andrew Dice Clay.
In the 1990s and modern era, comedians such as Bill Hicks, Doug Stanhope, and Dave Chappelle have used shocking content to draw attention to their criticism of social issues, especially censorship and the socioeconomic divide.
In British humor, the genre of "sick jokes" is often used to shock by poking fun at taboo or as a reaction against political correctness.
The use of the term "non-veg" is probably a reference to the carnal nature of sexual humor, and can be viewed in the context of the prevalence of both vegetarian and non-vegetarian dietary preferences.