In the issue #10950 there has been a discussion about when e.g. @deprecated should end. At the moment these are ended when the paragraph (by means of a double new line or the end of a comment block) ends.
In the comment #10950 (comment) it is stated:
I think the more structural solution is to treat certain HTML end tags such as </blockquote>, </details> and </div> as explicitly also ending the current paragraph. This way the warnings can also be improved.
The examples can be found with the issue #10950.