You're right. It was a dumb question. There's really no other way for him to answer without coming across as rude.
The message from McCain: Hillary is qualified to be president because she would be good. The 2008 GOP nominee is qualified to be president because I, McCain am a partisan.
That's hardly just the avoidance of being rude.
At least that's how NewsMax portrays what McCain said.