simplifying scanDocumentationComment()