That comment is what makes a file as a (custom) page template. Relevant excerpt from Creating Custom Page Templates for Global Use:
To create a global template, write an opening PHP comment at the top
of the file that states the template’s name.
<?php /* Template Name: Example Template */ ?>
And the tutorial actually says, "the name of the ...