That precise wording might carry sarcastic undertones. However, the bewilderment right before that seemed (and still seems, on second reading) genuine to me:
The grimness on Albus Dumbledore’s face lasted only an instant before giving way to bewilderment. “Quirinus? What—”
And then there was a pause.
“Well,” said Albus Dumbledore. “I do feel stupid.”
There was a long pause, then. The grey eyes searched him.
“Of course...” said Lucius slowly. “I do feel the fool now. This whole time you were just pretending to have no idea what we were talking about.”
That’s sarcasm.
That precise wording might carry sarcastic undertones. However, the bewilderment right before that seemed (and still seems, on second reading) genuine to me:
It’s also an eerie echo of Lucius Malfoy: