In war, is it worse for civilians to be killed than soldiers? For example,

Read another response by Oliver Leaman
Read another response about War
War
In war, is it worse for civilians to be killed than soldiers? For example, suppose that it's possible to attain an objective by killing a certain number of civilians, or by killing a significantly greater number of soldiers. Is the latter course preferable from an ethical standpoint, even though it involves more deaths?