Wit is a form of intellectual humour. A wit is someone skilled in making witty remarks. A witty remark is a smart observation, put with humor and said in the perfect moment. Forms of wit include: the quip and the repartee.
Witty remarks may be intentionally cruel, and perhaps more ingenious than funny.