function commentEnd(code) {
    return code === codes.greaterThan
      ? end(code)
      : code === codes.dash
        ? commentClose(code)
        : comment(code)
  }
In comment, after `--`.

```markdown
> | a <!--b--> c
             ^
```

@type {State}