diff --git a/examples/comments.txt b/examples/comments.txt
index 071e026..0133517 100644
--- a/examples/comments.txt
+++ b/examples/comments.txt
@@ -1 +1 @@
-
A Comedy of Errors{{! just something interesting... or not... }}
+A Comedy of Errors
diff --git a/mustache.js b/mustache.js
index fe87d9f..95088d2 100644
--- a/mustache.js
+++ b/mustache.js
@@ -157,7 +157,7 @@ var Mustache = function() {
lines[i] = lines[i].replace(regex, function(match, operator, name) {
switch(operator) {
case "!": // ignore comments
- return match;
+ return "";
case "=": // set new delimiters, rebuild the replace regexp
that.set_delimiters(name);
regex = new_regex();