diff --git a/amrun.cabal b/amrun.cabal
--- a/amrun.cabal
+++ b/amrun.cabal
@@ -1,5 +1,5 @@
 Name:                amrun
-Version:             0.0.0.1
+Version:             0.0.0.2
 Synopsis:            Interpreter for AM
 Description:         The package contains an interpreter for the AM-Language that is introduced in the basic programming course \"Algorithmisches Denken und imperative Programmierung\" (WS 2011/12 and later) at the University of Bonn.
 License:             GPL
diff --git a/src/amrun.hs b/src/amrun.hs
--- a/src/amrun.hs
+++ b/src/amrun.hs
@@ -182,7 +182,7 @@
 
 commentParser :: CharParser Int ()
 commentParser = do {
-    try ((char '#') <?> "");
+    spaces >> try ((char '#') <?> "");
 --    (State s _ _) <- getParserState;
 --    trace ("Parser State comment1:\n" ++ s) (return ());
     manyTill anyChar (lookAhead (char '\n'));
