When you load INLINE, the start and end of data is marked by square brackets, so you cannot use them as values, and that's why you are getting that "Garbage after statement", because QlikView reads the next "]" and understands that the INLINE load finishes there, that is not correct.

When you want to mark a line of script as comment, use // instead of ''