I recently stumbled upon the world's oldest preserved joke book, _[Philogelos](https://web.archive.org/web/20190402114641/http://www.stoa.org/diotima/anthology/quinn_jokes.shtml)_ ("Love of Laughter"). It dates back to fourth century Greece and contains 265 jokes categorized into subjects. Some of these subjects are readily recognizable tropes in humor-- eggheads, fools, tricksters, etc. Some of it could pass on stage today, and much of it is quite raunchy.
A few jokes from _Philogelos_ [1/3]:
#43. When an intellectual was told by someone, "Your beard is now coming in," he went to the rear-entrance and waited for it. Another intellectual asked what he was doing. Once he heard the whole story, he said: "I'm not surprised that people say we lack common sense. How do you know that it's not coming in by the other gate?"
A few jokes from _Philogelos_ [3/3]:
#263. Someone needled a jokester: "I had your wife, without paying a dime." He replied: "It's my duty as a husband to couple with such a monstrosity. What made you do it?'