Semmle 1.22
Skip to end of metadata
Go to start of metadata

Finds comments containing the word "TODO"

import python

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