Update collectDiagnostics() comments.