The purpose of wit in literature is to enliven the text and to make the reader laugh. It can also be used to make a point or to deflate pretension.
Other related questions:
What is the purpose of wit?
The purpose of wit is to add humor to a situation.
What does wit mean in literature?
In literature, “wit” refers to a clever or humorous use of language.
What does known as a wit mean?
It means someone who is known for being quick-witted or clever with words.