code: public String[] readComments() throws IOException {
          List<String> list = new LinkedList<String>();
          while (true) {
              mark(1024); // Line length equal 1024 at most
              String line = readTrimmedLine();
              if (line.length() > 0)
                  if (line.charAt(0) != '%') {
                      reset();
                      break;
                  } else
                      list.add(line.substring(1));
          }
          return list.toArray(new String[list.size()]);
      }
docs: Reads all the comments (lines starting with '%'). Positions the reader at
  the first non-comment line. Can only be called after reading the matrix
  or vector info. The comments read does not include '%' or the newline