Input
foo bar ## trailing comment Output AST
- type: Paragraph
children:
- type: Text
value: "foo bar "
reflection:
- loc:
start: 11
end: 27
text: trailing comment ## is recognized mid-line; preceding text stays in children, payload stored in block reflection
Input
foo bar ## trailing comment Output AST
- type: Paragraph
children:
- type: Text
value: "foo bar "
reflection:
- loc:
start: 11
end: 27
text: trailing comment