While I can't exactly remember, I think my crossbows were able to kill hidden units (I always aim at the unit at the very back as bolts will strike any unit in line that way), although to a much lower extent than visible units (you can count bodies). Hidden units crouch on the floor though, so you'd except that.