diff --git a/Text/Config/Lib.hs b/Text/Config/Lib.hs
--- a/Text/Config/Lib.hs
+++ b/Text/Config/Lib.hs
@@ -9,10 +9,13 @@
 import qualified Data.ByteString.Char8 as BC
 
 comment :: Parser ()
-comment = () <$ string "--" <* many (noneOf "\n")
+comment = () <$ string "--" <* many (noneOf "\r\n")
 
 commentLine :: Parser ()
-commentLine = () <$ (comment *> newline <|> newline)
+commentLine = comment *> nl <|> nl
+
+nl :: Parser ()
+nl = () <$ try (string "\r\n") <|> () <$ char '\n'
 
 commentLines :: Parser ()
 commentLines = () <$ many commentLine
diff --git a/simple-config.cabal b/simple-config.cabal
--- a/simple-config.cabal
+++ b/simple-config.cabal
@@ -1,5 +1,5 @@
 Name:                simple-config
-Version:             1.2.1
+Version:             1.2.2
 Synopsis:            Simple config file parser generator
 Description:         Simple config file parser generator
 Homepage:            https://github.com/yunomu/simple-config
