Tolkien is probably one of the funniest authors ever
Not because his literature is necessarily comedic, though Sam saying "Waste of a good apple" after throwing it at a guy's face in Bree and Aragorn saying "He will never love me I fear; for he bit me and I was not kind to him" (something like that) about Gollum during the Council of Elrond are rather funny, but because of his writing choices.
In real life, Tolkien was born in South Africa, I'd say where I'm from but he was born in Bloemfontein and I was born in the Cape Flats, but he was raised in England and most especially didn't consider himself South African because he despised the Apartheid government and said it's no man's right to judge another's worth on the basis of skin colour and he famously called Hitler a "ruddy little ignoramous" and basically told the Nazis to go fuck themselves. Which is also why Orcs aren't a race, they're a distortion, but he made a point of showing in Return of The King a scene where two Orcs are complaining about Sauron and Saruman and discussing opening a shop in the Shire when this all blows over.
So, he was surprisingly progressive for his time but his literature did fall victim to the whims of invented language where Morgul occasionally became Mughal and the Ringwraiths were referred to as "Black Riders" leading to interesting dialogue like: "Don't worry boys, I'll allow no Black man to pass through here."
And then there's the fact that Tolkien was also friends with people who were openly queer like Mary Renault, Nevill Coghill, and W.H. Auden. Geoffrey Bache Smith was a comrade in WWI and suspected to be in love with Tolkien, but I don't know about that.
That said, it's a little funny for those things to be true and then have to read the word "faggot" every time they make a fire, or describing the elves as a "queer folk."
Tolkien also had some of the strongest female characters in literary fiction at the time like Galadriel, who, while I can't remember the exact words he used, was described far more powerfully than her husband, Celeborn. Sauron once got his ass kicked by Lúthien. And there's that ever favourite anecdote that Tolkien wrote Eowyn's "I am no man" moment against The Witch King of Angmar because he was disappointed with the "No man born of woman" prophecy in MacBeth. But famously, there's no time a conversation is had between women throughout the entirety of The Lord of The Rings.
But even with all these conflictions, Tolkien still makes more time to actually insert ways to troll the audience. Makes sense that he's a troll though, him and Lewis dressed up as polar bears for a party and he once convinced a classroom that leprechauns were real didn't he?
The "we're going in circles" scene in Return of The King (I think) lasted three chapters in the book before Frodo realised this.
After the foreword, he spent a rather long time detailing how Hobbit society works (and usefully coined the term "mathoms" to describe objects you have no use for but don't want to throw away) before the first chapter even starts and you think "Okay, I know everything about Hobbits now against my will" and then later he continues to sprinkle in information about Hobbits like their addiction to mushrooms.
Again in Fellowship of The Ring he spends the foreword complaining about allegory and things of that nature and also details that he doesn't see The Lord of The Rings as a trilogy and you're like "He really wanted to write this as one book?" and then it seems as if out of spite that he springs on you the fact that Fellowship of The Ring is actually two books in one because when you get to Rivendell, it just starts from chapter 1 again.
And Celeborn's name is Teleporno.
One of the funniest motherfuckers ever.