I think its something like “think of how stupid the average person is, and realize that half of people are even more stupid than that”.
The brilliance of that joke is that everyone, no matter who you tell it to, everyone always laughs.
Nobody wants to think they’re on the stupid side.
You know how people say there are different types of intelligence?
Then there must also be different types of stupidity.