### Question:
HtmlCommentBlock extends AbstractHtmlBlock { @Override protected Pattern closePattern() { return closePattern; }  @Override boolean canStart(LineSequence lineSequence);  }### Answer:
@Test public void closePattern() { assertClosePattern(true, "-->"); assertClosePattern(true, " -->"); assertClosePattern(true, " - -->"); assertClosePattern(false, " --->"); }