4800531
diff --git a/crudini b/crudini
4800531
index e931143..1699adc 100755
4800531
--- a/crudini
4800531
+++ b/crudini
4800531
@@ -197,9 +197,6 @@ class LockedFile(FileLock):
4800531
 class CrudiniConfigParser(iniparse.RawConfigParser):
4800531
     def __init__(self, preserve_case=False):
4800531
         iniparse.RawConfigParser.__init__(self)
4800531
-        # Without the following we can't have params starting with "rem"!
4800531
-        # We ignore lines starting with '%' which mercurial uses to include
4800531
-        iniparse.change_comment_syntax('%;#', allow_rem=False)
4800531
         if preserve_case:
4800531
             self.optionxform = str
4800531
 
4800531
diff --git a/tests/test.sh b/tests/test.sh
4800531
index 90cc9a8..d629141 100755
4800531
--- a/tests/test.sh
4800531
+++ b/tests/test.sh
4800531
@@ -217,13 +217,6 @@ printf '%s\n' '#comment' '[section1]' > test.ini
4800531
 test "$(crudini --get test.ini)" = 'section1' || fail
4800531
 ok
4800531
 
4800531
-# Ensure we handle comments correctly
4800531
-printf '%s\n' '[DEFAULT]' '#c1' ';c2' '%inc1' > test.ini
4800531
-test "$(crudini --get test.ini)" = '' || fail
4800531
-printf '%s\n' '[section1]' 'remote=1' > test.ini
4800531
-test "$(crudini --get test.ini 'section1')" = 'remote' || fail
4800531
-ok
4800531
-
4800531
 # missing bits
4800531
 :> test.ini
4800531
 crudini --get missing.ini 2>/dev/null && fail