There was a joke there, wasn't there? Which head? Something like that.
John ignores it because he is, contrary to popular belief, above some things. Just a few.
Instead, he just lays it on thick. "Genius," he murmurs in compliment before making it his personal mission to bruise the shit out of Q's lips with kisses.