2343 Above, the Evangelist told how Pilate examined Christ before those who accused him; here he describes how Pilate questioned him in private. First, the Evangelist gives Pilate's question; then, the answer of Jesus (v 34). In regard to the first he does two things: first, we have Pilate's question; secondly, we see Christ asking the reason for the question, Do you say this of your own accord?
2344 In regard to the first, note that Pilate, as a just judge, and as one proceeding cautiously, did not immediately agree with the accusation of the high priest, "You shall not follow a multitude to... do evil; nor shall you bear witness in a suit, turning aside after a multitude, so as to pervert justice" (Ex 23:2). Rather, Pilate entered the praetorium again and called Jesus aside, because he had serious doubts about him. So he called Christ over to examine the case more closely and to allow Christ to answer in more peace and away from the shouts of the Jews: "I searched out the cause of him whom I did not know" (Job 29:16).
2345 Then Pilate said to him, Are you the King of the Jews? This shows, as Luke says (Lk 23:2), that the Jews were accusing Christ of this crime, although John says only that "If this man were not an evildoer, we would not have handed him over" (18:30), and many other crimes were laid on him. But the charge about his being a king touched the heart of Pilate most, and that is why he questioned him only about this: "For out of the abundance of the heart the mouth speaks" (Mt 12:34).
Source: Commentary on John