It is rather annoying to see so blatant a dig. I mean, there's just no subtext there. It's "HAY THIS COMIC IS BEING POLITICAL HEY LOOK GUYS LOOKIT. Look." And Osborn's not even the president, so the dig itself only even barely makes sense.
On the other hand, it's not exactly out of character, either, so you can't really say it's all that meta or breaks too much fourth wall. Both of these guys were anti-regs. Logan is a mutant. They would in fact say those things to each other, in all probability.