title: Inline comment in PlantUML
body: <p>Is it possible to write an inline comment in the <strong>PlantUML</strong> (Markdown format)?</p>
  <p>For example, I would like to achieve the following result</p>
  <pre><code>@startuml
      participant Alice as A
      participant Bob as B
  
      A -&gt; B    ' Here I would like to have my comment
      ...
  @enduml
  </code></pre>
  <p>I know that the following notations can be used:</p>
  <pre><code>' This is a comment on a single line
  A -&gt; B: Hello World
  /' Multiple
  comment
  lines '/
  </code></pre>
  <p>What I find strange is that this style:</p>
  <pre><code>participant Alice as A    /' Why does this comment work? '/
  </code></pre>
  <p><strong>works for the participants</strong> and can be used successfully. Only with the references this does <strong>not</strong> work.</p>
  <p>The solutions with the <code>'</code> and <code>--</code> notation which were mentioned <a href="https://stackoverflow.com/questions/4003075/can-i-write-comments-in-uml-class-diagram">here</a> do not work properly.</p>
  <blockquote>
  <p>I already checked the following sources:</p>
  <ul>
  <li><a href="https://forum.plantuml.net/1353/is-it-possible-to-comment-out-lines-of-diagram-syntax" rel="nofollow noreferrer">https://forum.plantuml.net/1353/is-it-possible-to-comment-out-lines-of-diagram-syntax</a></li>
  <li><a href="https://plantuml.com/de/commons" rel="nofollow noreferrer">https://plantuml.com/de/commons</a></li>
  </ul>
  </blockquote>
  <p>Is there a possibility here?</p>