A one-liner is a
joke
A joke is a display of humour in which words are used within a specific and well-defined narrative structure to make people laughter, laugh and is usually not meant to be interpreted literally. It usually takes the form of a story, often with ...
that is delivered in a single line. A good one-liner is said to be
pithy
{{Short pages monitor