Markdown writer: Separate adjacent lists of the same kind with comment.

Closes #1458.