Add comment to each pattern of errors