There was a new feature suggestion raised a while ago asking to be able to mark duplications as won’t fix etc, but they didn’t seem to think it would be possible and that you should just exclude the whole file from duplication analysis
https://community.sonarsource.com/t/allow-marking-duplications-as-false-positives-wont-fix/6197