htmlprocessor.js can strip unparsed comment blocks

If you pass an option stripUnparsed === true, comment blocks will be removed (and their internal content remain) if the type doesn't exist or target doesn't match