Messi has been chosen as the best player in every single tournament he played in: World Cup, Copa (twice), Olympics, U-20 WC.. Ronaldo has zero.
Individually, Messi is an easy top 10..
As for most international goals, Ronaldo had to play significantly more games to break the record, his goal per game ratio is nothing special (worse than Lukaku), and without newly emerging minnows in 90s, he would be nowhere.. No one comes close to Gerd Muller in terms of national team goal scoring in Europe. He was equally lethal both in WC & EC at every stage including finals. Muller scored 68 goals in 62 games in an era where there were no Luxembourg, Andorra, San Marino, Lithuania, Armenia, Latvia, Estonia, Kazakhstan, Belarus, Azerbaijan, many of which are Ronaldo's favorite opponents (44 goals in 25 games). Remove these from the equation for a fair comparison with Muller and many others, Ronaldo would have a mere 73 goals in 163 games vs Muller in 68 goals in 62 games, 5 more goals than Muller playing 101 more games
For the Euro record, again he had to play 4 more Euros and 15-20 games more than Platini to break the record.. Ronaldo had to play tons more games to have a similar number of goals and that newly emerged European minnows in 90s are his savior))
As the great Eusebio once said:
"The comparisons make me sad. It's easier now. I never played against Liechtenstein and Azerbaijan".
"It's wrong. There is no comparison. I scored my 41 goals in 60 games. It's easier now because you play more games against weak teams."
https://www.marca.com/2013/09/11/en/football/international_football/1378917585.html
Messi broke great Pele's record last year (top South American goal scorer), but nobody cares (including me) as he had to play significantly more games to break Pele's record.. does not even come to your mind when thinking about Messi's career achievements..