The way I see it, the source of humor is basically the superiority theory but applied only to a knowledge gradient. Socrates saying that he’s handsome is funny because it implies that he doesn’t know how ugly he is, and the rest of us do. We all laugh to show that we possess the knowledge he lacks - we “get the joke”. The handsomest man in the world saying he’s handsome isn’t funny because it’s just a true statement, there’s no one being dumb to be made fun of.