diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index 7b7224f8549e1b352b84136dcaf94ff6baf6ee62..ef8eaa1257e70a9d9776171d78e5b50abea5c462 100644
--- a/doc/nanorc.sample
+++ b/doc/nanorc.sample
@@ -242,16 +242,16 @@
 
 ## Here is an example for your .nanorc
 ##
-#syntax "nanorc" "(\.|/|)nanorc$"
+# syntax "nanorc" "(\.|/|)nanorc$"
 ## highlight possible errors and parameters
-#color brightwhite "^ *(set|unset|syntax|color).*$"
+# color brightwhite "^ *(set|unset|syntax|color).*$"
 ## set, unset and syntax
-#color cyan "^ *(set|unset) +(autoindent|backup|backupdir|brackets|const|cut|fill|historylog|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|punct|quotestr|rebinddelete|regexp|smarthome|smooth|speller|suspend|tabsize|tempfile|view|whitespace)"
-#color green "^ *(set|unset|syntax)\>"
+# color cyan "^ *(set|unset) +(autoindent|backup|backupdir|brackets|const|cut|fill|historylog|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|punct|quotestr|rebinddelete|regexp|smarthome|smooth|speller|suspend|tabsize|tempfile|view|whitespace)"
+# color green "^ *(set|unset|syntax)\>"
 ## colors
-#color yellow "^ *color +(bright)?(white|black|red|blue|green|yellow|magenta|cyan)(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
-#color magenta "^ *color\>" "\<(start|end)="
+# color yellow "^ *color +(bright)?(white|black|red|blue|green|yellow|magenta|cyan)(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
+# color magenta "^ *color\>" "\<(start|end)="
 ## strings
-#color white "\"(\\.|[^\"])*\""
+# color white "\"(\\.|[^\"])*\""
 ## comments
-#color blue "^ *#.*$"
+# color blue "^ *#.*$"