I suppose I'm coming at this from the perspective not as a Star Trek fan (though I am) but as a comedy writer. Referential humor IS funny and while it's not particularly much better than the pun, people who love fandoms and recognize the jokes being made really do get a lot out of them. As a Star Trek fan, I love being able to do deep dives like recognizing when a character from my favorite franchise shows up or gets referred to.
"I know that!" may be lazy humor but it is fun and I never help but get a laugh when they bring up everything from Aramus to those blonde people in jumpers who kill people over lawn ornaments.