# Searching within comments

Use the [`comment`](https://developers.google.com/code-search/reference#filters) filter to search within comments.
For example, the following search returns occurrences of `main` within
comments.

    comment:main