Comment are interpreted?

Hello, just found out that this :

filter {
  mutate {
    add_field => {
    # some comment
    "[@metadata][uuid]" => "%{NUM_TEL}_%{DATE_APPEL}"
    "[@metadata][es]" => "true"
    }
  }
}

works just fine,

and this :

filter {
  mutate {
    add_field => {
    # some comment
    "[@metadata][uuid]" => "%{NUM_TEL}_%{DATE_APPEL}"
    # some other comment
    "[@metadata][es]" => "true"
    }
  }
}  

Does not work because there is a comment between two fields ( # some other comment ). Is this a wanted behavior ?

Thanks for your answer.

Best,
Anto