code: private int readXMLComment(final Line firstLine, final int start)
      {
          Line line = firstLine;
          if (start + 3 < line.value.length())
          {
              if (line.value.charAt(2) == '-' && line.value.charAt(3) == '-')
              {
                  int pos = start + 4;
                  while (line != null)
                  {
                      while (pos < line.value.length() && line.value.charAt(pos) != '-')
                      {
                          pos++;
                      }
                      if (pos == line.value.length())
                      {
                          line = line.next;
                          pos = 0;
                      }
                      else
                      {
                          if (pos + 2 < line.value.length())
                          {
                              if (line.value.charAt(pos + 1) == '-' && line.value.charAt(pos + 2) == '>')
                              {
                                  this.xmlEndLine = line;
                                  return pos + 3;
                              }
                          }
                          pos++;
                      }
                  }
              }
          }
          return -1;
      }
docs: Reads an XML comment. Sets <code>xmlEndLine</code>.
  
  @param firstLine
  The Line to start reading from.
  @param start
  The starting position.
  @return The new position or -1 if it is no valid comment.