Welcome..
Well firstly, some books with humour from the previous lists I've put up would inlcude
Fletcher Pratt and L Sprague De Camp's Compleat Enchanter series, which deals with time travel gone wrong. Very amusing.
Of course there's
The First & Second Books Of Lankhmar by
Fritz Leiber, a sword and sorcery duo who are constantly in and out of very amusing scrapes. Think Lethal Weapon duo Gibson and Glover in a magical setting.
I know that
Terry Pratchett is a major figure with his
DiscWorld series, never appealed to me but I'm not a huge fan of comedic fantasy.
Hope this helps.