When a note is defined on several lines (like your example), \n is not interpreted as carriage return.
When a note is defined on a single line (like in the following example), \n is interpreted as carriage return
@startuml
!define NOTE_TEXT Note:\nnew line text\n\tnew line tabulated text
note right: NOTE_TEXT
@enduml
Does it help you ?