---
- name: Invalid comment after end of flow sequence
  from: '@perlpunk'
  tags: comment error flow sequence
  fail: true
  yaml: |
    ---
    [ a, b, c, ]#invalid
  tree: |
    +STR
     +DOC ---
      +SEQ []
       =VAL :a
       =VAL :b
       =VAL :c
      -SEQ