So the code, indented was this, but I'd like it on one line:
awk '
    /^## / {
        country = substr($0, 4)
    }
    /^Server/ {
        printf "%d. %s: %s\n", ++i, country, $3
        country = ""
    }
' /etc/pacman.d/mirrorlist