JQueryComments is a project mainly written in JavaScript, it's free.
A jQuery Plugin to identify HTML comments within jQuery nodes