How to exclude a file using SCA Visual Studio plugin

I am trying to exlude a file using the Visual Studio plugin, but I am not sure I'm doing it right. I created a cpp file with a vulnerability, and added the following to the Translate arguments (I also tried it on the Scan arguments):

"-exclude" "Exclude.cpp"

The file still shows up on the Analysis Results.

Thank you.