CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds comments containing the word "TODO".

import csharp

from CommentLine c
where c.getText().regexpMatch("(?si).*\\bTODO\\b.*")
select c