I don't think so, we don't pass any args down to "dotnet build" at the moment. Feel fee to raise an issue to further discuss this though, I can imagine other scenarios where it would be useful to set msbuild params so we could have a think about how to do that.
Although generally warnings like that are either a bug in your code or our code though, so in this case probably worth being looked at rather than being ignored.