Currently, the rules Q001, Q002, and Q003 extracts the trivia information from the source code. With #10298, we have all of the information available on the AST node. This can help simplify the implementation.
There's a raw_text field on Trivia which might still be required but need to check it's usages to confirm.
This is a low priority task.