quip (n.)

1530s, variant of quippy in same sense (1510s), perhaps from Latin quippe "indeed, of course, as you see, naturally, obviously" (used sarcastically), from quid "what" (neuter of pronoun quis "who," from PIE root *kwo-, stem of relative and interrogative pronouns), and compare quibble (n.)) + emphatic particle -pe.

quip (v.)

"make a quip," 1570s, from quip (n.). Related: Quipped; quipping.