Implement detection of documentation comments.