J. B. Priestley said this quote

Comedy, we may say, is society protecting itself - with a smile.