Thomas Carlyle said this quote

Humor has justly been regarded as the finest perfection of poetic genius.