Are you able to do something like this:
#set( $options = [ "one",
"two",
"three",
"four" ] )
#macro(sample $options)
#foreach( $opt in $options )
## do something with each $opt
#end
#end
Another thing is trying to use comments (if I remember correctly). Maybe something like that:
#sample( $c1 #*
*# $c2 #*
*# $c3 #*
*# $c4 )
As I recall linebreaks where always buggy and wrapping them in comments would resolve those issues.