For example, the US is the only country in the world that openly conducts drone strikes on foreign territory for extrajudicial killings of political opponents. Not just in Afghanistan, but also in Yemen and a number of other countries.
To give another example, if a country uses chemical warfare agents against civilians, this is a clear-cut violation of international laws, treaties, and conventions. Moreover, the verdict of experts and international judges does count.
Although there is plenty of room for disagreement and legal procedure, as in any other legally and morally relevant matter, none of these issues are based on "an arbitrary line in my head" at all.
So yes, the line of demarcation between when you feel you are complicit with the "immoral" behavior is arbitrary and not based on any legal basis.
extrajudicial killings of political opponents
It's important to note that this is not true legally. It conflicts with EO 12333 [1] [2]. The targeting process for any airstrike (except in VERY rare cases like Op Neptune) goes through a very complex, legal de-confliction process in close coordination with local governments/militaries and is not done for political purposes. In this sense "political" is a term of art, not a statement about the philosophical position of a potential target.
I think the major problem here is the massive disparity with what the general public thinks they know about airstrikes in general and UAV strikes (aka drone) specifically. The general public has about 1/1000th of the information they need to understand it and how it actually happens in practice. The DoD is largely to blame for not being more explicit about this, but there are real concerns with security/secrecy.
[1] https://www.archives.gov/federal-register/codification/execu...
[2] https://www.law.upenn.edu/institutes/cerl/conferences/target...
Then you need to basically move out of society. Every western country has provided funds to develop or employ some kind of military weapon that has led to the death of a civilian at some point. If you pay taxes or are not actively an anti-government anarchist then by default you are "contributing."
Whether you think your contribution is large enough to warrant complicity or not is just a matter of where you draw the line in your own head.