A Non Sequitur is a bit or line of dialogue that is intentionally out of place, usually designed to elicit a comedic reaction. They have no actual bearing on the plot, although they are staples of characters who are part of their own little world …
tvtropes.org