The README states:
Comments and the order of keys are preserved.
However, comments at the end of a properties file are not preserved. See #44 for a failing test.
Note that the example properties file shown in wikipedia has a trailing comment, so trailing comments are certainly valid.
A special, degenerate case of trailing comments is a properties file consisting of comments alone.