You can exclude any file from your project so that it is ignored by indexing, inspections, and code completion.
In the Project tool window, right-click the file you want to exclude, select Override File Type from the context menu, and then select Plain text from the Choose File Type list.
If necessary, you can always revert the file to its original type by selecting Revert File Type Override from the context menu.