$ npm install --save-dev gulp-remove-html-comments
var gulp = require('gulp');
var removeHtmlComments = require('gulp-remove-html-comments');
gulp.task('html', function () {
return gulp.src('src/*.html')
.pipe(removeHtmlComments())
.pipe(gulp.dest('dist'));
});