From the Super Mario Wiki
A Vanishing Block is a block that appears in Super Mario Advance 4's World-e. It appears in one level, Tanuki Suit no Himitsu. Though the block is entirely solid and inert, it is invisible under normal circumstances. To make it visible, Mario must use the Tanooki Suit's (hidden in the level) power to become a statue.