There are two kinds of that.
One is "wtf was I thinking", which comments won't help with.
The other is "where did the requirement come from", and that's (1) not a "cock-sure of themselves" sort of thing; and (2) best solved by putting a tracking number on the commit message, rather than traditional code comments.