From your question I guess that you add the comments so that a human knowns where the file is used.
The AsciiDoc plugin for IntelliJ can give you this using "Find Usages" (Ctrl+F7) if you apply it to the file (not for example to a class name or something similar) and it will show you all include directives that point to this file
If you want to use this information for something else, please comment.