Comedy is often a way to express what is not considered "proper" to discuss, or what may be politically dangerous to express. Yet what is needed to be discussed.
In that way, it is often a response of the oppressed, of the "untouchable", outcast or despised class.