The Buddha of the Sutta Pitaka was not bereft of humour... he was witty, intelligent and insightful. One might call his humour "dry".
Back in the day at E-Sangha there was a detailed exploration by members on the use of humour in the suttas. Alas that is now gone (unless perhaps one wishes to poke around one of those Internet archives), but I've always found this to be rather amusing...
DN 16: Mahaparinibbana Sutta wrote:At that time the Venerable Upavana was standing before the Blessed One, fanning him. And the Blessed One rebuked him, saying: "Move aside, bhikkhu, do not stand in front of me."
And to the Venerable Ananda came the thought: "This Venerable Upavana has been in attendance on the Blessed One for a long time, closely associating with him and serving him. Yet now, right at the end, the Blessed One rebukes him. What now could be the reason, what the cause for the Blessed One to rebuke the Venerable Upavana, saying: 'Move aside, bhikkhu, do not stand in front of me'?"
And the Venerable Ananda told his thought to the Blessed One. The Blessed One said: "Throughout the tenfold world-system, Ananda, there are hardly any of the deities that have not gathered together to look upon the Tathagata. For a distance of twelve yojanas around the Sala Grove of the Mallas in the vicinity of Kusinara there is not a spot that could be pricked with the tip of a hair that is not filled with powerful deities. And these deities, Ananda, are complaining: 'From afar have we come to look upon the Tathagata. For rare in the world is the arising of Tathagatas, Arahants, Fully Enlightened Ones. And this day, in the last watch of the night, the Tathagata's Parinibbana will come about. But this bhikkhu of great powers has placed himself right in front of the Blessed One, concealing him, so that now, at the very end, we are prevented from looking upon him.' Thus, Ananda, the deities complain."