I feel a warning is appropriate for JPEGs. Removing EXIF data would definitely not be considered lossless by most photographers.
Same goes for comments in all file formats.
Neat idea but I'd be happier to use it if I knew it was an unqualified benefit rather than having to think about whether it might strip data I need.