Please have a look:@startumlcomponent "B" as B {}component "A" as A {note right of A: will not fail if commented}B 0-[dashed]-0 A@endumlhttp://www.plantuml.com/plantuml/uml/JOwz2W8n48Jhv2c6wm-kjhhaDSHYSJTtWVn8ic8XlhivjN1Xc_cOZrcxKjDxJXQ_kzPygqMAOl8JgCFZQQrvZVz3xeFSGCQWL1MqkEsA6k1EUCIKZXI1Oa8CXpIFdl1NvB7CPwQ-2r_c1SwkKdYCU0C0If you comment out the note or change the arrow to something else (such as, to "-[dashed]-" for example), there will be no failure
(--------)