Immanuel Kant said this quote

Laughter is an affect resulting from the sudden transformation of a heightened expectation into nothing.