A while ago, some of the TODO comments in my source code disappeared from the TODO list.
I wondered why, so I found this question: How set up todo list categories in Delphi 2010?.
The Delphi TODO item syntax in source code comments is like this (thanks Nelson H C Nepomuceno):
{ TODO 1 -cImportant :Do this!}
// TODO 1 -cImportant: Do this!
My comment there, after I found out I had done a stupid global search replace involving colons:
The important thing is the colon somewhere after the TODO. If you do not have the colon, then the TODO list will not show the comment. Anything after the colon will be the action item in the TODO list.
–jeroen
via: How set up todo list categories in Delphi 2010 – Stack Overflow.