I am following this tutorial: https://www.wpthemedetector.com/create-archives-page/
How come when I type the following block of code in a file named page-archives.php, the template name changes? For example, if I typed in "Archive2" the dropdown list would display Archive2. I thought comments didn't have any effect.
<?php /* Template Name: Archives */ ?>