Now we see that John is commended: first, as to his past; then with respect to his future (v 21). John is commended on three points in his past.
First, John had the privilege of having Christ's special love. The Evangelist says, Peter turned, for he had begun to follow Jesus even bodily, and saw following them the disciple whom Jesus loved. Here we see that Peter, already made a shepherd, was intent on the care of others: "And when you have turned again, strengthen your brethren" (Lk 22:32). Now Jesus loved John without excluding the others, for above he said, "As the Father has loved me, so ...have I loved you" (15:9). But he loved John above the others with a special love. There were three reasons for this. First, because of his penetrating understanding: for teachers especially love their intelligent students: "A servant who deals wisely has the king's favor" (Prv 14:35). Secondly, because of his purity, for he was a virgin: "He who loves purity of heart, and whose speech is gracious, will have the king as his friend" (Prv 22:11). Thirdly, because of his youth, for we have tender feelings for the young and the weak, and act with friendship towards them. And this is the way Christ acted with the youthful John: "When Israel was a child, I loved him" (Hos 11:1). We can see from this that God especially loves those who serve him from their youth: "My soul desires the first ripe figs" (Mic 7:1).
But this seems to go against Proverbs (8:17): "I love those who love me." Peter loved Christ more than the others: "Do you love me more than these?" (21:15). Therefore, Christ should have loved Peter more than John. I answer: it could be said that John, because he was more loved, was happier; while Peter, because he loved more, was better. But this would be a violation of justice. Consequently, this refers to a mystery: that is, Peter and John stand for two kinds of life, the active and the contemplative, and the end and object of each is Christ. The active life, which Peter signifies, loves God more than the contemplative life (which is signified by John) because it feels more keenly the difficulties of this present life, and more intensely desires to be freed from them and to go to God. But God loves the contemplative life more, because he preserves it longer: it does not come to an end with death, as does the active life: "The Lord loves the gates of Zion more than all the dwelling places of Jacob" (Ps 87:2).
Some try to solve this problem using the literal sense. They distinguish two kinds of love in Christ, according to his two wills, his human and divine will. They say that Christ loved Peter more with his divine love, but he loved John more with his human love. The objection to this is that Christ's human will was entirely conformed to his divine will; and so the more he loved one with his divine will, so also he loved that one more with his human will. Therefore, we should say that he loves that one the more to whom he wills more good. He loved Peter more in the sense that he made Peter love him more; Christ loved John more in another sense, that is, by giving him a keener understanding. "The Lord will fill him with the spirit of wisdom and understanding" (Sir 15:3). Accordingly, Peter is better because charity is better than knowledge (cf. 1 Cor 13:8); but John is better in keenness of understanding. However, only God can weigh their merits: "The Lord weighs the spirit" (Prv 16:2).
And so others say, and this is better, that Peter loved Christ more in his members; and in this way he was also more loved by Christ. For this reason the Church was entrusted to him. But John loved Christ more in Himself, and in this way was more loved by Christ, who entrusted his mother to John's care. Or, one could say that Peter loved Christ more readily and fervently. While John was more loved by being given tokens of intimate friendship, which Christ gave him on account of his youth and purity.
John adds, who had lain close to his breast at the supper, which commends him to us on the second point, his special intimacy with Christ. This was just explained.
Thirdly, John is commended on account of the special confidence he had in Christ, so that he could question Christ with more assurance than all the others. Thus he adds that this disciple had said, Lord, who is it that is going to betray you? This was also explained before (13:25).
John is recalling his own privileges in order to exalt Peter. One might suppose that because Peter had denied Christ he would not be allowed back to his former intimacy. To reject this, John shows that he was admitted to a greater intimacy. The one who did not dare to question Christ at the supper, but asked John to do it, was made head over his brethren after the passion, and is now questioning Christ not only for himself, but also for John. We can understand from this that those who fall into sin sometimes rise in greater grace: "For just as you purposed to go astray from God, return with tenfold zeal to seek him" (Bar 4:28).
Source: Commentary on John