How to manage constants?
I am using zencart for my site.
I add all global constants in:
includes/languages/english/english.php
PHP has a function for every task known to mankind.
This includes the get_defined_constants() function.
some ides, like netbeans, phpstorm, and probably many others have features like "find usages" and "refactor" which are really useful when renaming/updating/deleting, and they support constants.
this doesn't tell you "what comments are used in a specific file", but, i'm guessing its useful to you for similar purposes.