Use "scour":
$ scour --enable-comment-stripping --remove-metadata Resources/Public/Icons/Author.svg > a Scour processed file "Resources/Public/Icons/Author.svg" in 5 ms: 1223/1250 bytes new/orig -> 23.42%