I googled and found out that ICMP does not belong to the application layer.

Does this mean that even no OS is installed, a network card still knows how to reply an ICMP request?

Another situation is, when the computer is soft-powered off, some power is still reserved for the network card (so that it can support Wake-On-LAN), can the network card respond to ICMP request in this state?