路由配置多个可选参数

有没有试过路由配置多个可选参数

Route::get('posts/id{id?}/comments/{comment?}', function ($Id=1, $comment='') {
    return $id . '-' . $comment;
});

posts/id/comment
上面这个是错误的,请问正确的 可选参数怎么配置。

JellyBool
Route::get('posts/{id?}/comments/{comment?}', function ($id=1, $comment='') {
    return $id . '-' . $comment;
});

这样么?