Wiktionary
asteismus
n. 1 (context rhetoric English) Witty dialog or response. 2 (context rhetoric English) In dialog, a retort based on a punning use of another speaker's word or metaphor.
Wikipedia
Asteismus
Asteismus is a rhetorical term for a mocking or humorous reply that employs word play.