It appears surges work the same way in 2e as they did in 1e (from page 12 in the rules under the "2. Roll Dice" section):
If an X is rolled on the blue attack die, the attack is considered a miss and all other results are ignored.
If you miss, you don't get to use your surges.
EDIT: added rule page.