Because in the days when it was written, humour was an easy way to get a point across, without offending anyone, it was also a good way of light entertainment, no one could deny a good opportunity to laugh. Also it created atmosphere and caught everyones attention, it assured people that they would enjoy themselves and that they could escape reality and simply let loose.