A one-liner is a joke that is delivered in a single line.
A good one-liner is said to be pithy – concise and meaningful.
[1] Comedians and actors use this comedic method as part of their performance, and many fictional characters are also known to deliver one-liners, including James Bond, who often makes pithy and laconic quips after disposing of a villain.
[2]