Inline comment in PlantUML

Viewed 292

Is it possible to write an inline comment in the PlantUML (Markdown format)?

For example, I would like to achieve the following result

@startuml
    participant Alice as A
    participant Bob as B

    A -> B    ' Here I would like to have my comment
    ...
@enduml

I know that the following notations can be used:

' This is a comment on a single line
A -> B: Hello World
/' Multiple
comment
lines '/

What I find strange is that this style:

participant Alice as A    /' Why does this comment work? '/

works for the participants and can be used successfully. Only with the references this does not work.

The solutions with the ' and -- notation which were mentioned here do not work properly.

I already checked the following sources:

Is there a possibility here?

0 Answers
Related