running joke
A joke or humorous element that is introduced early on in a story and then appears or is referred to again repeatedly. There's this weird running joke throughout the novel about the protagonist's dislike of avocado, but it falls flat every single time. What was supposed to be a silly once-off gag in the pilot episode turned into a running joke.