In C# I use the #warning and #error directives,
#warning
#error
#warning This is dirty code... #error Fix this before everything explodes! <
#warning This is dirty code... #error Fix this before everything explodes!
Mark them with // TODO, // HACK or other comment tokens that will show up in the task pane in Visual Studio.
// TODO
// HACK
See Using the Task List.