There's a few definitions for "riff", but aside from a musical riff, it usually means an improvised outpour of creativity. "To riff" would mean performing this outpour.
But.... for your sentence, it would probably mean a short, snappy comment. Judging from the actual comment, the sentence is probably ironic. ;)
Makes me think of a tiny dog: "riff! riff!!"