For the literal meaning of "pun" (a play on words):
* Seriousness
* Literalism
* Directness
* Straightforwardness
For the humorous aspect of a pun:
* Humorlessness
* Dullness
* Seriousness
* Solemnity
Other related words:
* Fact
* Truth
* Reality
* Seriousness
Ultimately, the best antonym for "pun" will depend on the specific context and the nuance you want to convey.