it looks like this is wrapped in a try/catch along with other stuff.  Would it be possible to pull this out of the try/catch and put it along in a try/catch that codifies what to do if this detects a duplicate?  That organization of the code would probably be more beneficial long-term than having this comment (the comment can stay too, of course).