diff --git a/esi.module b/esi.module
index 7697d55..aff4050 100644
--- a/esi.module
+++ b/esi.module
@@ -277,6 +277,10 @@ function esi_esi_mode() {
       'title' => 'ESI tag',
       'render' => 'esi_esi_tag',
     ),
+    'esi_comment' => array(
+      'title' => 'Comment-wrapped ESI tag',
+      'render' => 'esi_esi_comment_tag',
+    ),
     'ssi' => array(
       'title' => 'SSI tag',
       'render' => 'esi_ssi_tag',
@@ -498,6 +502,13 @@ function esi_esi_tag($url) {
 }
 
 /**
+ * Render a comment-wrapped ESI tag.
+ */
+function esi_esi_comment_tag($url) {
+  return '<!--esi' . PHP_EOL . esi_esi_tag($url) . PHP_EOL . '-->';
+}
+
+/**
  * Render an SSI tag.
  */
 function esi_ssi_tag($url) {
diff --git a/modules/esi_block/esi_block.module b/modules/esi_block/esi_block.module
index 3143c90..80fe118 100644
--- a/modules/esi_block/esi_block.module
+++ b/modules/esi_block/esi_block.module
@@ -82,7 +82,7 @@ function esi_block_block_list_alter(&$block_info) {
  * Implements hook_block_view().
  */
 function esi_block_block_view($delta) {
-  // At this stage, the region where the block is being rendered isn't 
+  // At this stage, the region where the block is being rendered isn't
   // provided.  Return an empty content value, and the content will be
   // populated once hook_block_view_alter() is invoked.
 
@@ -97,7 +97,6 @@ function esi_block_block_view($delta) {
 function esi_block_block_view_alter(&$data, $block) {
   // The region isn't known in hook_block_view().  This is the first hook where
   // the region is provided.
-
   if ($block->module == 'esi_block') {
     // Build a URL which contains all the necessary data.
     $url = url(esi_block_url($block), array('absolute' => TRUE));
