All wars are hellish, but WW1 is definitely up there because of the chemical warfare and fighting in lines with friggin machine guns, as well as the unpleasantness of trench warfare, and the use of barbed wire.
All things considered, Vietnam was probably the worst. Pungi sticks, agent orange...