diff --git a/_layouts/single.html b/_layouts/single.html
index 6997cf10dfde..49d92130ded7 100644
--- a/_layouts/single.html
+++ b/_layouts/single.html
@@ -63,7 +63,7 @@
{{ site.data.ui-text[site.locale].meta_label }}
- {% if site.comments.provider and page.comments %}
+ {% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
{% include comments.html %}
{% endif %}