add comment skipping in pagereader.py