File-level DocBlock placement with namespace and declare(strict_types=1)

What is the correct placement of the file-level DocBlock when using declare(strict_types=1) and namespace?

For example is the following correct or does the DocBlock go under the opening PHP tag?

<?php
declare(strict_types=1)

/**
 * DocBlock
 */

namespace XxxXxx;

use XxxXxx;

if (!defined('ABSPATH')) {
    exit;
}

/**
 *
 */
class Xxx {
    // ...
}