See the official documents the Format :
With '#' at the beginning of a line is considered a comment, it appears as arguments in other locations.
It is not difficult to understand the reasons given: the same line as arguments a comment.
Original Dockerfile:
Read: