No direct ancestors in the 20th century killed in battle that I know of. I lost several close friends in Vietnam. My father had 13 brothers who I think 10 served in world war II or Korea. A couple of purple hearts.
Bros! Ditto that for my family on Dad’s side. Alsace-Lorraine, then Russia, then Canada and down to Kansas. Mom’s side has been mucking about the South since Jamestown, but managed to avoid getting killed in battle.
I don’t know of any in my family. I think my paternal grandfather and both of my maternal grandparents were in WWII, and survived - not quite sure what their exact jobs were, maybe nothing too dangerous.